package com.repository.service;

import com.repository.entity.ProductShipment;


/**
 * 待出库表(ProductShipment)表服务接口
 *
 * @author makejava
 * @since 2024-07-14 17:38:16
 */

public interface ProductShipmentService {

    /**
     * 通过ID查询单条数据
     *
     * @param bottleLabel 主键
     * @return 实例对象
     */
    ProductShipment queryById(String bottleLabel);

    /**
     * 分页查询
     *
     * @param productShipment 筛选条件
     * @param pageRequest     分页对象
     * @return 查询结果
     */
//    Page<ProductShipment> queryByPage(ProductShipment productShipment, PageRequest pageRequest);

    /**
     * 新增数据
     *
     * @param productShipment 实例对象
     * @return 实例对象
     */
    ProductShipment insert(ProductShipment productShipment);

    /**
     * 修改数据
     *
     * @param productShipment 实例对象
     * @return 实例对象
     */
    ProductShipment update(ProductShipment productShipment);

    /**
     * 通过主键删除数据
     *
     * @param bottleLabel 主键
     * @return 是否成功
     */
    boolean deleteById(String bottleLabel);

}
